﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EasyTrader.Option
{
    // DDE 데이터 한 행에 대한 정보를 모아 놓은 클래스이다.
    using DDEDataList = List<DDEDataItem>;
    public class DDEData
    {
        double[] m_FutCall = new double[5]{0.0, 0.0, 0.0, 0.0, 0.0};
        public double[] FutCall
        {
            get { return m_FutCall; }
            set { m_FutCall = value; }
        }
        double[] m_FutPut = new double[5] { 0.0, 0.0, 0.0, 0.0, 0.0 };
        public double[] FutPut
        {
            get { return m_FutPut; }
            set { m_FutPut = value; }
        }
        private object m_CallCode;
        public object CallCode
        {
            get { return m_CallCode; }
            set { m_CallCode = value; }
        }
       
        private object m_PutCode;
        public object PutCode
        {
            get { return m_PutCode; }
            set { m_PutCode = value; }
        }
        private object m_PriceCode;
        public object PriceCode
        {
            get { return m_PriceCode; }
            set { m_PriceCode = value; }
        }

        private double m_CallJoint = 0.0;
        public double CallJoint
        {
            get { return m_CallJoint; }
            set { m_CallJoint = value; }
        }
        private double m_CallTarget = 0.0;
        public double CallTarget
        {
            get { return m_CallTarget; }
            set { m_CallTarget = value; }
        }
        private double m_PutJoint = 0.0;
        public double PutJoint
        {
            get { return m_PutJoint; }
            set { m_PutJoint = value; }
        }
        private double m_PutTarget = 0.0;
        public double PutTarget
        {
            get { return m_PutTarget; }
            set { m_PutTarget = value; }
        }

        private string m_CallJointCenter = "";
        public string CallJointCenter
        {
            get { return m_CallJointCenter; }
            set { m_CallJointCenter = value; }
        }
        private string m_PutJointCenter = "";
        public string PutJointCenter
        {
            get { return m_PutJointCenter; }
            set { m_PutJointCenter = value; }
        }
        private string m_CallTargetCenter = "";
        public string CallTargetCenter
        {
            get { return m_CallTargetCenter; }
            set { m_CallTargetCenter = value; }
        }
        private string m_PutTargetCenter = "";
        public string PutTargetCenter
        {
            get { return m_PutTargetCenter; }
            set { m_PutTargetCenter = value; }
        }
        

        private DDEDataItem m_DataItem = new DDEDataItem();
        public EasyTrader.Option.DDEDataItem DataItem
        {
            get { return m_DataItem; }
            set { m_DataItem = value; }
        }
       
    }
}
